<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<title><?php echo ($title); ?></title>
		<link href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.css" type="text/css" rel="stylesheet" />
		<script src="http://apps.bdimg.com/libs/jquery/2.1.1/jquery.min.js"></script>
	</head>
	<body style="background-color:#D3D3D3;">
		<!--<body background="/Public/images/background.jpg">-->
		<div class="container">
			<div><h1><a href=<?php echo U('/Home/index/index');?>><?php echo ($title); ?></a></h1></div>
		<div>
		</div>
		<br />
		<div>
		</div>
		<br />
		<div>
			<h2>文章</h2>
			<?php if(is_array($content)): foreach($content as $key=>$vo): ?><p><h4>标题:<?php echo ($vo["title"]); ?></h4><?php echo ($vo["content"]); ?><h5>作者：<?php echo ($username); ?></h5></p><?php endforeach; endif; ?>

		</div>
		<div>
			<h2>近期文章</h2>
			<?php if(is_array($content)): foreach($content as $key=>$vo): ?><p><h4>标题:<?php echo ($vo["title"]); ?></h4><?php echo ($vo["content"]); ?><h5>作者：<?php echo ($username); ?></h5></p><?php endforeach; endif; ?>
		</div>
		<br />
		<div>
			<h2>近期评论</h2>
			</div>
		<br />
			<div>
				<h2>分类</h2>
			</div>
			<br />
			<div>
			<br />
			<h2>归档</h2>
			<?php if(is_array($content)): foreach($content as $key=>$vo): echo ($vo["archives"]); endforeach; endif; ?>
			</div>
			<div>
				<h2>管理</h2>
				<a href=<?php echo U('Admin/Login/index');?>><button type="button">登录</button></a>
				<a href=<?php echo U('Admin/Login/index');?>><button type="button">注册</button></a>
			</div>
			<div>
				<h2>功能</h2>
			<form action=<?php echo U('Home/Index/search');?> method="post">
			<input type="text" name="search" class="form-control" placeholder="搜索">
	    		<!--<input type="submit" class="btn" value="搜索">-->
			</form>
			</div>
		</div>
	</body>
</html>